

#ifndef _SHELL_RESHEART_MESSAGE_H_
#define _SHELL_RESHEART_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResHeartMessage : public Message
{
	public:
	ResHeartMessage();
	~ResHeartMessage();
	void reset();
	ResHeartMessage* clone();
	static const int _ID;
	//当前时间（秒）
	int32 time;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
